<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>资料修改</title>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="Author" content="PageAdmin CMS" />
<link href="file/style/lanmu.css" type="text/css" rel="stylesheet" />
<link href="file/style/member.css" type="text/css" rel="stylesheet" />
<script src="file/js/jquery-1.7.2.js" type="text/javascript"></script>

<link rel="shortcut icon" type="image/ico" href="/e/images/favicon.ico">
</head>
<body>
<div class="page_style" id="lanmu">
  <div class="menu_box">
    <div class="menu_box_top"><img border="0" alt="" src="file/images/logo.gif" /></div>
    <div class="menu_box_lanmu" id="Menu">
      <ul>
        <li id=menuitem class=menu_style name="menuitem"><a id=menu_61 class=menu 
  href="index.php?con=Index&act=run" target=_self>首页</a> </li>
        <li id=menuitem class=menu_style name="menuitem"><a id=menu_62 class=menu 
  href="index.php?con=Course&act=chooseCourse" target=_self>在线课程</a> </li>
        <li id=menuitem class=menu_style name="menuitem"><a id=menu_63 class=menu 
  href="#" target=_self>模板下载</a> </li>
        <li id=menuitem class=menu_style name="menuitem"><a id=menu_64 class=menu 
  href="#" target=_self>帮助中心</a> </li>
        <li id=menuitem class=menu_style name="menuitem"><a id=menu_65 class=menu 
  href="#" target=_self>联系我们</a> </li>
        <li id=menuitem class=menu_style name="menuitem"><a id=menu_66 class=menu 
  href="#" target=_blank>用户论坛</a> </li>
      </ul>
    </div>
    <script type="text/javascript">
<!--
var IsPageHome="0";
var Lanmu_Id="61";
var Sublanmu_Id="0";
var CurrentMenu=document.getElementById("Menu_"+Lanmu_Id);
var MenuItem=document.getElementsByName("MenuItem");
if(MenuItem.length>0)
{
 MenuItem[0].className="menu_style_first";
 if(CurrentMenu!=null)CurrentMenu.className="menu_current";
 ShowSubMenu(Lanmu_Id);
}
-->
</script>
  </div>
  <div class="banner">
    <embed width="900" height="100" type="application/x-shockwave-flash" src="file/images/banner.swf" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
  </div>
  <div class="lanmu_box_style1" id="sublanmu_style1">
    <div class="lanmu_box_style1_left" id="sublanmu_style1_left">
      <div class="nav_box"  style="margin:0 0 5px 0">
        <div class="nav_title"><span class="nav_sign">用户资料</span></div>
        <div class="nav_content"> 会员名：zhulin<br>
          类&nbsp;&nbsp;别：普通会员<br>
          <a href="index.php?con=Index&act=member" class="logined_href">会员中心</a>&nbsp;&nbsp; <a href="index.php?con=User&act=loginout" class="logined_href">注销退出</a> </div>
      </div>
      <div class="nav_box">
        <div class="nav_title"><span class="nav_sign">会员中心</span></div>
        <div class="nav_menu">
          <ul>
            <li><a href="index.php?con=Course&act=chooseCourse" id="nav_msg">选择课程</a></li>
            <li><a href="#" id="nav_od">我的订单</a></li>
            <li><a href="#" id="nav_ex">我的兑换</a></li>
            <li><a href="#" id="nav_fnc">我的财务</a></li>
            <li><a href="#" id="nav_pt">我的积分</a></li>
            <li><a href="index.php?con=Index&act=alter" id="nav_fbk">密码修改</a></li>
            <li><a href="index.php?con=Index&act=change" id="nav_mdy">资料修改</a></li>
          </ul>
        </div>
      </div>
      <script type="Text/javascript">
memnav_current();
var thetype="mem_mdy";
if(thetype=="mem_datalst" || thetype=="mem_datadtl" || thetype=="mem_sitelst")
 {
  nav('AddData');
 }
function ordercart(sid,Table)
 {
   window.open("/e/order/order.aspx?s="+sid+"&table="+Table,"ordercart","top=50,left=50,height=550, width=850,toolbar=no, menubar=no, scrollbars=yes,resizable=yes,location=no, status=no");
 }
</script>
    </div>
    <div class="lanmu_box_style1_right" id="sublanmu_style1_right">
      <div class="sublanmu_box">
        <div class="sublanmu_site">
          <ul>
            <li class="sublanmu_site_1">当前位置：<a href="index.php?con=Index&act=member">会员中心</a> &gt; 资料修改</li>
            <li class="sublanmu_site_2">我的资料</li>
          </ul>
        </div>
        <div class="sublanmu_content">
          <form  method="post" name="pa_member" action="index.php?con=User&act=changeData" enctype="multipart/form-data">
            <script src="/e/js/zdyform.js" type="text/javascript"></script>
            <table border="0" cellpadding=5 cellspacing=0  align=center width="95%">
              <tr>
                <td align=right class='tdhead'>邮箱<span style='color:#ff0000'>*</span></td>
                <td><input type=text name='email' id='email' value="<?php echo $userInfo['email']; ?>" style='height:18px;border:1px solid #cccccc;text-align:left;width:180px'   maxlength='100' ></td>
              </tr>
			  <tr>
			  	<td align=right class='tdhead'>头像</td>
				<td><img src="file/uploads/headImg/<?php echo $userInfo['headPic']; ?>" /><a href="#" class="alter" title="修改"> <img src="file/images/no.gif" alt="修改" /></a></td>
			  </tr>
			  <input type="hidden"  name="oldPic" value="<?php echo $userInfo['headPic']; ?>" />
              <tr class="headPic">
                <td align="right" class='tdhead'>新头像</td>
                <td><input type="file" name='headPic'  style='height:22px;border:1px solid #cccccc;text-align:left;width:180px'   maxlength='100' ></td>
              </tr>
              <tr>
                <td align=right class='tdhead'>性别</td>
                <td>
					<input type="radio" name="sex"  value="1" <?php if( $userInfo['sex']==1){?> checked="checked"<?php }?>/>男：
					<input type="radio" name="sex" value="2" <?php if( $userInfo['sex']==2){?> checked="checked"<?php }?> />女：
				</td>
              </tr>
              <tr>
                <td align=right class='tdhead'>手机</td>
                <td><input type=text name='mobile' id='pa_fax' value="<?php echo $userInfo['mobile']; ?>" style='height:18px;border:1px solid #cccccc;text-align:left;width:180px'   maxlength='100' ></td>
              </tr>
			  <tr>
                <td align=right class='tdhead'>生日</td>
                <td><input type=text name='birth' id='pa_msn' value="<?php echo $userInfo['birth']; ?>" style='height:18px;border:1px solid #cccccc;text-align:left;width:180px'   maxlength='100' ></td>
              </tr>
              <tr>
                <td align=right class='tdhead'>地址</td>
                <td><input type=text name='addr' id='pa_qq' value="<?php echo $userInfo['addr']; ?>" style='height:18px;border:1px solid #cccccc;text-align:left;width:180px'   maxlength='100' ></td>
              </tr>
              
           
              <input type="hidden" name="pa_from" id="pa_from" value="">

              <script  type='text/javascript'>
				function pa_member_zdycheck(){
				obj=document.pa_member.email;
				  if(obj.value=="")
				   {
					 alert("请填写邮箱!");
					 obj.focus();
					 return false;
				   }
				  else if(!IsEmail(obj.value))
				   {
					 alert("邮箱格式错误!");
					 obj.focus();
					 return false;
				   }
				return true;
				}
			 </script>
              <tr>
                <td colspan="2" align="center"><input id="bt_post" type="submit"  value=" 修改资料 " onclick="return Check_Reg()" class="bt">
                <td>
              </tr>
            </table>
            <input name="post" type="hidden" value="edit">
          </form>
        </div>
      </div>
    </div>
    <div class="clear" id="sublanmu_style1_bottom"></div>
  </div>
  <div class="bottom_box">
    <p align="center" style="padding-bottom: 1px; background-color: #007ccf; padding-left: 0px; padding-right: 0px; height: 20px; color: #ffffff; padding-top: 0px"><span>&nbsp;&nbsp;&nbsp;</span>&nbsp; Copyright &copy;2012&nbsp;PageAdmin 版权所有&nbsp; <a target="_blank" href="http://www.miibeian.gov.cn/"><span style="color: #ffffff">粤ICP备07048220号</span></a>&nbsp;&nbsp;&nbsp;本站基于PageAdmin V3.0制作&nbsp;&nbsp;</p>
  </div>
</div>
</body>
<script type="text/javascript">TongJi(1)</script>
</html>
</div>
</body>
</html>
